package com.example.demo;

public class RedisChannelSub implements RedisMsg {
	@Override
	public void receiveMessage(Message message) {
		
		//注意通道调用的方法名要和RedisConfig2的listenerAdapter的MessageListenerAdapter参数2相同
		System.out.println("RedisChannelSub: " + message);
	}
}